%%% Defining model specification 

global model_mn fnames_ path_ mprior datasel psel msel 

%  MODEL_MN
model_mn = 'rsts';


fnames_.pnames = [model_mn '_pnames'];	% m-file: parameter names
fnames_.prior  = [model_mn '_prior'];	% m-file: load prior specfication
fnames_.prtr   = [model_mn '_prtr'];	% m-file: information on parameter transformation
fnames_.psel   = [model_mn '_psel'];	% m-file: parameter selection

datasel = 4;
mprior  = 4; 
psel    = 2; % [mprior psel] : 11 -no regime switching, 12 - regime switching in alpha and gamma 22 - regime switching in alpha 

%  DATASEL
%   1  for the whole period (1953:Q1 to 2006:Q4)
%   2  for subsample 1 (1953:Q1 to 1979:Q2) 
%   3  for subsample 2 (1984:Q1 to 2006:Q4) 

if datasel==1
   dataselstr = ['d1'];
elseif datasel==2
   dataselstr = ['d2'];
elseif datasel==3
   dataselstr = ['d3']; 
elseif datasel==4
   dataselstr = ['d4'];
elseif datasel==5 
   dataselstr = ['d5'];
elseif datasel==6 
   dataselstr = ['d6'];
end

msel = mprior; 
%  subT
%
%  for real data
%     1 for full sample
%     2 for post-1982:Q4   
%
%  for simulated data
%     1 for 216 observations
%     2 for 96  observations


%  mprior
lprior = ['p' num2str(mprior)];


% output directories: based on model/prior specification
mpspec  = [dataselstr lprior num2str(psel)];

fnames_.priorfile = ['./prior/' mpspec '.txt'];
path_.root   = ['./' mpspec '/'];
path_.para   = [path_.root 'para/'];
path_.post   = [path_.root 'post/'];
path_.like   = [path_.root 'like/'];
path_.result = [path_.root 'result/'];
path_.likcut = ['./likcut/' mpspec '/'];
